/**
 *  NSObject+HexColor.h
 *
 *  HaoFangTong
 *
 *  Created by 赵宏 on 15/10/14.
 *
 *    Copyright © 2015年 好房通. All rights reserved.
 */

//#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NSObject (HexColor)

+ (UIColor *)hexColor:(NSString*)hexColor;

+ (UIColor *)colorWithHexString:(NSString *)color;

//从十六进制字符串获取颜色，
//color:支持@“#123456”、 @“0X123456”、 @“123456”三种格式
+ (UIColor *)colorWithHexString:(NSString *)color alpha:(CGFloat)alpha;
@end
